package com.example.buy.util;

import com.example.buy.model.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanConfig {

    @Bean
    public User person(){
        return new User("wuwen","123456");
    }
}
